package com.atstudy.jdbc;

import java.util.Date;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/1/11 9:21
 * @copyright: 博为峰
 */
public class Cla {
    private int id;
    private String name;
    private int num;
    private Date createTime;

    public Cla() {
    }

    public Cla(int id, String name, int num, Date createTime) {
        this.id = id;
        this.name = name;
        this.num = num;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Cla{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", num=" + num +
                ", createTime=" + createTime +
                '}';
    }
}
